#
# Common API : escaping HTML (with jQuery)
#
html_escape = (s)->
  obj = document.createElement('pre')
  if obj.textContent?
    obj.textContent = s
  else
    obj.innerText = s
  return obj.innerHTML

#
# Result Error
# 
class Error
  # constructor
  constructor:(@message)->
